﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using Nop.Core.Domain.Customers;

namespace Nop.Data.Mapping.Customers
{
    public class MarchantApplyMap : EntityTypeConfiguration<MerchantApply>
    {
        public MarchantApplyMap()
        {
            this.ToTable("MerchantApply");

            this.HasKey(cc => cc.Id);
            this.Property(cc => cc.Name).HasMaxLength(50);
            this.Property(cc => cc.Phone).HasMaxLength(50);

        }
    }
}
